var express = require('express')
var router = express.Router()

var login = require('./login')
var admin = require('./admin')
var user = require('./user')
var column = require('./column')
var article = require('./article')
var tab = require('./tab')
var comment = require('./comment')
var menu = require('./menu')
var role = require('./role')
var upload = require('./upload')
var staticFile = require('./static')
var captcha = require('../controllers/captcha')
var userInfo = require('../controllers/userInfo')

router.use('/login', login)
router.use('/admin', admin)
router.use('/user', user)
router.use('/article', article)
router.use('/column', column)
router.use('/tab', tab)
router.use('/comment', comment)
router.use('/menu', menu)
router.use('/role', role)
router.use('/upload', upload)
router.use('/static', staticFile)
router.use('/captcha', captcha)
router.use('/', userInfo)
module.exports = router;
// module.exports = {
// 	login,
// 	admin,
// 	user,
// 	column,
// 	article,
// 	tab,
// 	comment,
// 	menu,
// 	role,
// 	upload,
// 	staticFile
// }
